/* 按项目所需，重定义bootcss必要元素样式 */


/******
 ****** Global
 ******/

p {
    margin-bottom: 35px;
    line-height: 1.8;
}

p:last-child {
    margin-bottom: 0;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 34x;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 18px;
}

.body1 {
    font-size: 16px;
}

.body1.text-sm-small{
    font-size: 14px;
}

h1 {
    font-weight: 200;
}

h2,
h4 {
    font-weight: 400;
}

h3,
h5 {
    color: #4D4D4D;
    font-weight: 400;
}

h2,
h4,
h6,
.text-red {
    color: #98090A;
}

@media (min-width: 1200px) {
    p {
        font-size: 18px;
    }
    h1 {
        font-size: 100px;
    }
    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 34px;
    }
    h4 {
        font-size: 30px;
    }
    h5 {
        font-size: 26px;
    }
    h5.text-sm-small {
        font-size: 22px;
    }
    h6 {
        font-size: 24px;
    }
    .body1 {
        font-size: 17px;
    }
    .body1.text-sm-small{
        font-size: 17px;
    }
}

h2.large {
    font-size: 60px;
}

.font-color-red,
.font-color-red a {
    color: #98090A;
}

.font-gray {
    color: #4d4d4d;
}

.font-border-bottom {
    padding: 10px 0;
    position: relative;
}

a {
    color: #4d4d4d;
    cursor: pointer;
    outline: none;
}

a:hover,
a:focus {
    color: #333;
    text-decoration: none;
    transition: all 0.5s;
}

@media(min-width:992px) {
    .w-lg-100 {
        width: 100%;
    }
}

/* 表格 */

.table-responsive > .table-bordered{
    border: 1px solid #dee2e6;
}

/* 按钮样式 */

.btn {
    border-radius: 0;
}


/* 主按钮（暗色#333主题） */

.btn-primary {
    color: #fff;
    background-color: #97100A;
    border-color: #97100A;
    min-width: 158px;
}

@media(min-width:768px) {
    .btn-primary {
        color: #fff;
        min-width: 240px;
    }
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    background-color: #000;
    border-color: #000;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: #000;
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #333;
    border-color: #333;
}

.btn-submit .caldera-grid .btn-primary,
.caldera-grid .btn-primary {
    color: #fff;
    background-color: #97100A;
    border-color: #97100A;
}

.caldera-grid .btn,
.caldera-grid .btn-lg {
    border-radius: 0 !important;
}

.caldera-grid .btn.btn-primary.focus,
.caldera-grid .btn.btn-primary:focus,
.caldera-grid .btn.btn-primary:hover,
.caldera-grid .btn.btn-secondary.focus,
.caldera-grid .btn.btn-secondary:focus,
.caldera-grid .btn.btn-secondary:hover {
    color: #fff !important;
}

.btn-submit .caldera-grid .btn-primary.active,
.btn-submit .caldera-grid .btn-primary.focus,
.btn-submit .caldera-grid .btn-primary:active,
.btn-submit .caldera-grid .btn-primary:focus,
.btn-submit .caldera-grid .btn-primary:hover,
.open>.dropdown-toggle.caldera-grid .btn-primary {
    color: #fff;
    background-color: #97100A;
    border-color: #97100A;
}

.btn-secondary {
    background-color: #666;
    border-color: #666;
    min-width: 158px;
}

@media(min-width:768px) {
    .btn-secondary {
        min-width: 240px;
    }
}

.btn-secondary:hover {
    background-color: #98090A;
    border-color: #98090A;
}

.btn-secondary:focus,
.btn-secondary.focus {
    background-color: #98090A;
    border-color: #98090A;
    box-shadow: 0 0 0 0.2rem rgb(0 0 0 / 50%);
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #98090A;
    border-color: #98090A;
}

.navbar .btn-link {
    color: #4d4d4d;
}

.navbar .btn-link:hover,
.navbar .btn-link:focus {
    color: #98090A;
}

.btn-link:hover {
    color: #333;
    text-decoration: none;
}

.doubleLoaderProgBar,
.doubleLoaderProgBar span {
    height: 2px !important;
}

.border-bottom {
    border-bottom: 1px solid #343a40 !important;
}

@media (min-width: 48em) {
    .gslide-external,
    .gslide-inline {
        min-width: 35vw;
    }
    .ginlined-content {
        width: 100%;
    }
}


/* 预设样式 */

.background-cover {
    background-size: cover;
    background-repeat: no-repeat;
}

.background-contain {
    background-size: contain;
    background-repeat: no-repeat;
}

.background-auto {
    background-size: auto;
    background-repeat: no-repeat;
}

.background-center {
    background-position: center center;
}

.background-center-top {
    background-position: center top;
}

.background-center-bottom {
    background-position: center bottom;
}

.background-right-top {
    background-position: right top;
}

.background-left-top {
    background-position: left top;
}

.background-right-bottom {
    background-position: right bottom;
}

.background-left-bottom {
    background-position: left bottom;
}

.container-responsive-4by1::before {
    display: block;
    content: "";
    padding-top: 20%;
}
.container-responsive-40by167::before {
    display: block;
    content: "";
    padding-top: 70%;
}
@media (min-width: 992px) {
    .container-responsive-40by167::before {
        display: block;
        content: "";
        padding-top: 23.95%;
    }
}

.container-responsive .embed-responsive-item {
    min-height: 400px;
}

.max-640 {
    max-width: 640px;
}

.max-720 {
    max-width: 720px;
}

/* Home page css */

.section-slider{
    padding-top: 70px;
}

.section-news {
    background-color: rgba(0, 0, 0, 1);
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-news h3.white {
    color: rgba(255, 255, 255, .5) !important;
}

.news-content-warp {
    border-left: 2px solid #98090A;
}

.btn-front-news-warp {
    background-color: #000;
    border-color: #fff;
}

@media (min-width: 992px) {
    .section-slider{
        padding-top: 0;
    }
    .section-news {
        background-color: rgba(0, 0, 0, .2);
        position: absolute;
        bottom: 0;
    }
}

/* source-of-technology */
@media (max-width: 992px) {
    .technology-section-01{
        background-image: url(../images/technology-section-01-bg.png) !important;
        background-position: center top !important;
    }
}
.technology-items .border-right:nth-child(4),
.technology-items .border-right:last-child{
    border-right: 0 !important;
}
@media (min-width: 992px) {
    .technology-items .border-right:nth-child(4),
    .technology-items .border-right:last-child{
        border-right: 2px solid #98090A !important;
    }
}

.technology-items p{
    line-height: 1.2;
}

/* company page */
@media (max-width: 992px) {
    .network-map a.glightbox{
        pointer-events:none;
    }
}

/* 滚动与动画冲突解决 */

.section-source-of-technology {
    min-height: 444px;
}
.section-case {
    min-height: 480px;
}
.section-product-information {
    min-height: 493px;
}
.section-company-profile {
    min-height: 648px;
}
.section-company-activities {
    min-height: 928px;
}
.section-recruitment-information {
    min-height: 888px;
}
.section-after-sales-service {
    min-height: 1254px;
}

@media (min-width: 1440px) {
    .section-source-of-technology {
        min-height: 760px;
    }
    .section-case {
        min-height: 900px;
    }
    .section-product-information {
        min-height: 900px;
    }
    .section-company-profile {
        min-height: 877px;
    }
    .section-company-activities {
        min-height: 652px;
    }
    .section-recruitment-information {
        min-height: 804px;
    }
    .section-after-sales-service {
        min-height: 1371px;
    }
}



/* 按钮 */

.btn.btn-outline-primary {
    border-radius: 6px;
}

.btn-outline-primary {
    color: #97100A;
    border-color: #97100A;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #97100A;
    border-color: #97100A;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #97100A;
    border-color: #97100A;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus,
.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgb(151 16 10 / 50%);
}

.bg-primary {
    background-color: #97100A !important;
}

.bg-secondary {
    background-color: #E5E5E5 !important;
}

.bg-secondary-red {
    background-color: rgba(152, 9, 10, 0.7) !important;
}

.bg-last-red {
    background-color: rgba(152, 9, 10, 0.4) !important;
}

.bg-gray {
    background-color: #eee;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.btn-submit .caldera-grid form .row {
    border-top: 1px solid #000;
    padding-top: 3rem;
    margin-top: 2rem;
}

.shadow {
    box-shadow: 0 0 30px rgb(0 0 0 / 8%) !important;
}

.caldera-grid form .row.first_row,
.caldera-grid form .row.last_row {
    border-top: none;
}

.caldera-grid label{
    font-weight: normal !important;
}

.border-right {
    border-right: 2px solid #98090A !important;
}

.row-cols-md-4 .col:last-child,
.row-cols-md-4 .col:nth-child(4) {
    border-right: none !important;
}

.products-form .caldera-grid .btn-primary {
    background-color: #97100A !important;
    border-color: #97100A !important;
    border-radius: 0 !important;
}

.products-form .caldera-grid .form-group .form-control {
    background-color: #fff;
}

.region-glightbox {
    overflow: inherit;
}

.tab-content table {
    font-size: 16px;
    color: #666;
}

table.table-borderless tbody tr:nth-child(2) td {
    min-width: 60px;
}

.text-color {
    color: #E10379;
}

.faciluty-table .table-striped tr th {
    background-color: #666;
    color: #fff;
    min-width: 50px;
}

.table-history tbody a {
    text-decoration: underline;
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.05);
}

.products-table.table {
    text-align: center;
}

.products-table.table .thead-light th {
    color: #fff;
    background-color: #666;
    border-color: #ccc;
}

.table tr td .nittoku-address:hover {
    color: #97100A;
}

.products-table.table-bordered th,
.products-table.table-bordered td {
    border-top: none;
    border-bottom: none;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #dee2e6;
}

.products-characteristic ul li,
.products-feature ul li {
    border-bottom: 1px solid #999;
    padding: 20px 0;
}

.products-characteristic ul li:last-child {
    border-bottom: none;
}

.products-table.table-striped tbody tr:nth-of-type(odd),
.table-reverse.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0);
}

.products-table.table-striped tbody tr:nth-of-type(even),
.table-reverse.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

.products-table.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075) !important;
}

.infomation-form.border {
    border: 3px solid #dee2e6 !important;
    border-radius: 18px;
}

.products-form.bg-white #CF60868acaaccff_1-row-6 .single label {
    min-width: 110px;
}

#CF60868acaaccff_1-row-6 {
    background-color: #E5E5E5 !important;
    padding: 15px;
}

.title-border-left {
    border-left: 9px solid #98090A !important;
    font-size: 20px;
}
@media (min-width:992px) {
    .title-border-left {
        font-size: 25px;
    }
}

.technology-title {
    position: relative;
}

.technology-title::before {
    content: url(../images/technology-title.svg);
    position: absolute;
    top: -5px;
    left: 0;
}

.technology-section-02 .section-headlines::before {
    top: -100%;
    left: 0;
    right: auto;
    margin-left: -10px;
}
@media (min-width:992px) {
    .technology-section-02 .section-headlines::before {
        content: url(../images/technology-number-1.svg);
        position: absolute;
        top: 0;
        left: auto;
        right: 100%;
        margin-left: auto;
    }
}
@media (max-width:768px) {
    .technology-section-03{
        background-image: url(../images/section-technology-bg/section-technology-bg03-mobile.jpg) !important;
    }
    .technology-section-04{
        background-image: url(../images/section-technology-bg/section-technology-bg04-mobile.jpg) !important;
    }
    .technology-section-05{
        background-image: url(../images/section-technology-bg/section-technology-bg05-mobile.jpg) !important;
    }
    .technology-section-06{
        background-image: url(../images/section-technology-bg/section-technology-bg06-mobile.jpg) !important;
    }
    .technology-section-03,
    .technology-section-04,
    .technology-section-05,
    .technology-section-06{
        background-size: contain !important;
        background-position: center top !important;
    }
}

.bg-consult-products::before {
    content: "";
    position: absolute;
    background-color: #ECD4D3;
    display: block;
    height: 282px;
    left: 0;
    right: 0;
    z-index: -1;
}

@media (min-width:992px) {
    .bg-consult-products .col-12.col-md-9 {
        padding-top: 60px;
    }
}

.products-bg {
    background-repeat: no-repeat !important;
    background-position: bottom !important;
}

.single .caldera-grid .checkbox-inline+.checkbox-inline,
.single .caldera-grid .radio-inline+.radio-inline {
    margin-left: 0px;
}

.products-image img:hover {
    background-color: #000;
    opacity: 0.5;
}

.ncs-sorting p span.white {
    border-radius: 6px;
}

.table .thead-dark th {
    background-color: #666;
    border-color: #ccc;
}

.table > thead > tr > th {
    min-width: 210px;
}
@media (min-width:992px) {
    .table > thead > tr > th {
        min-width: 100px;
    }
}

.single-products #contentRight .wpb_wrapper .table th,
.single-products #contentRight .wpb_wrapper .table td {
    vertical-align: middle;
    text-align: center;
}

.product-content-detail>li {
    border-bottom: 1px solid #999;
    padding: 20px 0 20px 25px;
    position: relative;
}

.product-content-detail>li:last-child {
    border-bottom: 0;
}

.product-content-detail>li::before {
    position: absolute;
    content: url(../images/detial-arrow.svg);
    left: 0;
}

.number-font {
    min-width: 45px;
}

.technology-special-font-size {
    font-size: 20px;
    text-align: center;
}

.technology-special-font {
    line-height: 2.5rem;
    display: block;
    color: #000;
    background-color: #b3b3b3;
}

.border-bottom-red {
    border-bottom: 1px solid #98090A;
}

.product-title-before,
.number-detial-before {
    position: relative;
}

.product-title-before::before {
    position: absolute;
    content: url(../images/detial-before.svg);
    top: 0;
    margin-left: -40px;
}

.number-detial {
    font-size: 58px;
}

.number-detial-before::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background-color: #98090A;
}

.fa-line {
    position: relative;
}

.fa-line::before {
    position: absolute;
    width: 20%;
    height: 1px;
    background-color: #98090A;
    content: "";
    bottom: 0;
    margin-bottom: -10px;
    left: 40%;
}

.font-detail-color {
    color: rgba(0, 0, 0, 0.6) !important;
}

@media (min-width:768px) {
    .product-arrow {
        position: relative;
    }
    .product-arrow::after {
        position: absolute;
        content: url(../images/arrows.png);
        top: 50%;
        left: 100%;
        margin-left: 3px;
    }
}

.empty-line {
    margin-bottom: 18px;
}

.bg-grey {
    background-color: rgba(0, 0, 0, 0.05);
}

.bg-greydeep {
    background-color: #666;
}

.font-detail p {
    font-size: 16px;
}
.single-products .wpb_single_image img{
    padding: 30px;
}
@media (min-width:992px) {
    .single-products .wpb_single_image img{
        padding: 0;
    }
}

.case-info-font-warp{
    background-color: rgba(152, 9, 10, 0.7);
}

@media(min-width:768px) {
    .case-info-font-warp{
        background-color: transparent;
    }
}

@media(max-width:768px) {
    .stm-img .vc_column-inner{
        padding-top: 0 !important;
    }
}
@media(max-width:768px) {
    .sbhs-img .vc_column-inner{
        padding-top: 0 !important;
    }
}
@media(max-width:768px) {
    .xz-img .wpb_wrapper .vc_single_image-wrapper .vc_single_image-img.attachment-full{
        padding: 0 !important;
    }
}
.working-example{
    height: 32px;
    width: 88px;
    color: #ba6046;
    border: 1px dashed #ba6046;
    border-radius: 5px;
}
